package com.example.toolproject.demo.mapper;

import com.example.toolproject.demo.domain.Explain;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @ClassName ExplainMapper
 * @Description TODO
 * @Author lvyongwei
 * @Date 2020-08-26 15：55
 **/
@Mapper
public interface ExplainMapper {

    /**
     * 查询
     * @return
     */
    public Explain getExplainById(int titleId);

    /**
     * 修改内容
     * @param explain
     * @return
     */
    public boolean updateExplain(Explain explain);
}
